<?php

require_once(ABSPATH . 'manage/main.php');

class Auth extends Main {
	
	function Auth() {
		parent::Main();
		$this->lib('session', 'message');
	}
	
	function permissions() {
		if( ! $this->session->userdata('manager_id') ) {
			/**
			$this->message->set('你还没有登陆，或是登陆失效，请先登陆');
			$this->manage_view('manage/login', array());
			echo "888888888";
			**/
			echo "permissions";
			exit;
		}
	}
	
}
?>